<!-- SvgIcon.vue -->
<template>
  <svg aria-hidden="true" class="svg-icon" :width="width" :height="height">
    <use :xlink:href="`#icon-${iconName}`" />
  </svg>
</template>

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
  iconName: {
    type: String,
    required: true
  },
  width: {
    type: String,
    default: '16px'
  },
  height: {
    type: String,
    default: '16px'
  }
});
</script>